import request from '@/utils/request'

/**
 * 发送短信
 */
export function sendSmsApi(phone){
 return request({
   url: '/front/sms/register/'+phone,
   method: 'get'
 })
}


/**
 * 验证商家注册验证码
 */
export function validateRegisterApi(data){
  var dataValue={}
  dataValue.code=data.code
  dataValue.phone= data.loginName
 return request({
   url: '/front/sms/register/validate',
   method: 'post',
   data: dataValue
 })
}
